//
//  CountrySelectedViewController.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/4/19.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class CountrySelectedViewController: BaseViewController {
    var delegate:CountrySelectDelegate?
    var isUnShowCord = false
    lazy var selectedView:CountrySelectedView = {
        let view = CountrySelectedView(dataSource: self)
        
        return view
    }()
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
        self.title = kText("选择国家")
        self.view.themeBackground = ThemeManager.ThemeColorKeys.background
        selectedView.countrySelectDelegate = delegate
        selectedView.isUnShowCord = isUnShowCord
        self.view.addSubview(selectedView)
        selectedView.snp.makeConstraints { (make) in
            make.left.bottom.right.equalToSuperview()
            make.top.equalToSuperview().offset(0)
        }
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
